package com.njlime.cms.repository.app;

import com.njlime.cms.entities.InformationUp;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by Dean on 2017-10-10.
 */
public interface AppInformationUpDao extends JpaRepository<InformationUp, Integer>,JpaSpecificationExecutor<InformationUp> {
    int userUpCount(int commentId, int userId);
    int del(Integer commentId, Integer userId);
}
